package allod.som.initializer

import allod.som.Lattice.Neuron
import allod.som.Metric

/**
 * Created by IntelliJ IDEA.
 * User: allod
 * Date: 7 січ 2010
 * Time: 21:34:40
 */

case class RandomInitializer(dimension: Int, function: Metric)
        extends Initializer {
  def inputDimension(): Int = dimension

  def metric: Metric = function

  def createNeuron(layerIndex: Int, neuronIndex: Int): Neuron = {
    throw new UnsupportedOperationException()
  }
}